package com.ruoyi.adopt.service;

import java.util.List;
import com.ruoyi.adopt.domain.ApplyRecord;

/**
 * 记录Service接口
 * 
 * @author shilling
 * @date 2022-04-08
 */
public interface IApplyRecordService 
{
    /**
     * 查询记录
     * 
     * @param applyRecordId 记录主键
     * @return 记录
     */
    public ApplyRecord selectApplyRecordByApplyRecordId(Long applyRecordId);

    /**
     * 查询记录列表
     * 
     * @param applyRecord 记录
     * @return 记录集合
     */
    public List<ApplyRecord> selectApplyRecordList(ApplyRecord applyRecord);

    /**
     * 新增记录
     * 
     * @param applyRecord 记录
     * @return 结果
     */
    public int insertApplyRecord(ApplyRecord applyRecord);

    /**
     * 修改记录
     * 
     * @param applyRecord 记录
     * @return 结果
     */
    public int updateApplyRecord(ApplyRecord applyRecord);

    /**
     * 批量删除记录
     * 
     * @param applyRecordIds 需要删除的记录主键集合
     * @return 结果
     */
    public int deleteApplyRecordByApplyRecordIds(Long[] applyRecordIds);

    /**
     * 删除记录信息
     * 
     * @param applyRecordId 记录主键
     * @return 结果
     */
    public int deleteApplyRecordByApplyRecordId(Long applyRecordId);
}
